#ifndef DASHBOARDUI_PATIENTSELECT_H
#define DASHBOARDUI_PATIENTSELECT_H

#include "PatientListModel.h"

#include <QWidget>
#include <QAbstractListModel>

namespace Ui {
class DashboardUI_PatientSelect;
}

class DashboardUI_PatientSelect : public QWidget
{
    Q_OBJECT
    
public:
    explicit DashboardUI_PatientSelect(QWidget *parent = 0);
    ~DashboardUI_PatientSelect();

public slots:
    void reload();

signals:
    void userChanged();
    
private slots:
    void on_patientListView_clicked(const QModelIndex &index);

private:
    Ui::DashboardUI_PatientSelect *ui;
    PatientListModel model;

    QList<int> ids;
};

#endif // DASHBOARDUI_PATIENTSELECT_H
